package com.novunda.platform.web.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * . 功能说明：获取用户接口返回用户信息对象
 * 
 * @author FJ
 * @see 2016年9月20日
 * @version 1.0
 */
public class UserInfo implements Serializable {

	/**
	 * .
	 * 
	 */
	private static final long serialVersionUID = 5444651989305450224L;

	private long id;

	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 真实姓名
	 */
	private String realname;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 手机号码
	 */
	private String mobilephone;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 状态 0：正常 1：冻结
	 */
	private int state = 0;
	
	/**
	 * .
	 * 机构
	 */
	private String org;
	
	/**
	 * .
	 * 部门
	 */
	private String office;

	/**
	 * 创建人姓名
	 */
	private String createname;

	/**
	 * 创建时间
	 */
	private Date createtime;

	/**
	 * 用户的角色
	 */
	private List<String> userRoles;

	/**
	 * 权限标识
	 */
	private List<String> permissions;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getMobilephone() {
		return mobilephone;
	}

	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getOrg() {
		return org;
	}

	public void setOrg(String org) {
		this.org = org;
	}

	public String getOffice() {
		return office;
	}

	public void setOffice(String office) {
		this.office = office;
	}

	public String getCreatename() {
		return createname;
	}

	public void setCreatename(String createname) {
		this.createname = createname;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public List<String> getUserRoles() {
		return userRoles;
	}

	public void setUserRoles(List<String> userRoles) {
		this.userRoles = userRoles;
	}

	public List<String> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<String> permissions) {
		this.permissions = permissions;
	}

}
